<?php

class Fleet extends Controller {

	function Fleet()
	{
		parent::Controller();
		$this->load->helper('url','date');
		$this->load->library('session');
	}
	
	function index()
	{
		$prefs = array();
		$prefs['template'] = '{table_open}<table cellpadding="0" cellspacing="0" class="calTable">{/table_open}';
		$prefs['start_day'] = 'monday';
		
		$this->load->library('calendar', $prefs);
		$this->load->model('Tour_model', '', TRUE);

			
			
		$d = array(
               3  => 'http://example.com/news/article/2006/03/',
               7  => array(
						   'http://example.com/news/article/2006/07/', 'http://example.com/news/article/2006/09/'
						   ),
			   8  => array(
						   'http://example.com/news/article/2006/07/', 'http://example.com/news/article/2006/09/', 'http://example.com/news/article/2006/09/'
						   ),
               13 => 'http://example.com/news/article/2006/13/',
			   14 => 'http://example.com/news/article/2006/13/',
               26 => 'http://example.com/news/article/2006/26/'
             );
		
		$data = array();
		$data['cal'] = $this->calendar->generate(2006, 6, $d);
		
		
		



		$this->load->view('fleet/index', $data);
	}
	

}
?>